<template>
	<view class="contact">
		<image class="img" src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=924632347,1969518077&fm=26&gp=0.jpg" mode=""></image>
	 <view class="info">
	 	<view @click="phone">联系电话: 13574935717 (点击拨打)</view>
	    <view>居住地址: 邵阳市新邵县寸石镇太上村 </view>
	 </view>
	 <map :latitude="latitude" :scale="scale" :longitude="longitude" :markers="markers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:111.566958, 
				latitude:27.483924,
				scale:8,
				markers:[{
					longitude:111.566958,
					latitude:27.483924,
					 iconPath: '../../static/hmlogo.png',
					 width:30,
					 height:30
				}]
				
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:'13574935717'
				})
			}
		}
	}
</script>

<style lang="scss">
.contact {
	.img {
		width: 750rpx;
		height: 320rpx;
	}
	.info {
		padding: 10rpx 20rpx;
		font-size: 30rpx;
		view {
			line-height: 80rpx;
			border-bottom: 1px solid #eee;
		}
	}
	map {
		width: 750rpx;
		height: 750rpx;
	}
}
</style>
